package com.mouse.remind;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;


public class AlarmBootReceiver extends BroadcastReceiver {
	
	@Override
	public void onReceive(Context context, Intent intent) {
		/*String action = intent.getAction();
        if (action.equals(Intent.ACTION_BOOT_COMPLETED)) {*/
            //重新计算闹铃时间，并调设置闹铃时间及闹铃间隔时间
        	Intent i = new Intent(context, AlarmBootService.class);
        	i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        	context.startService(i); 
       //}
	}

}
